package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.project.student.Student;
import com.itheima.project.student.StudentQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {

    Page<Student> page(StudentQueryParam sqp);

    void deletById(List<Integer> ids);

    void saveStudent(Student student);

    void modifyStudent(Student student);

    Student queryStudentById(Integer id);

    void Disciplinaryaction(Integer id, Integer score);

    Integer getScore(Integer id);
}
